0e1d8ee110968df3aa279ff3d37688b4ff68d3bf
[git-annex.git] /
1 [[!comment format=mdwn
2  username="nobodyinperson"
3  avatar="http://cdn.libravatar.org/avatar/736a41cd4988ede057bae805d000f4f5"
4  subject="Git Alias for a 'full sync'"
5  date="2023-05-15T07:31:41Z"
6  content="""
7 This alias pretty much does what I mean:
8
9 [[!format  perl \"\"\"
10 # set the alias
11 git config --global alias.sync '!sh -xc '\"'\"'cd \"$(git rev-parse --show-toplevel)\";git annex add;git add -A;git annex sync'\"'\"''
12 # This then goes into the repo root, adds stuff with git annex, adds the rest git-annex didn't add and syncs with git annex
13 git sync
14 \"\"\"]]
15
16
17 """]]